﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("OAFileModular", "OAFileModular", new string[] { "MODULARID" })]
    [KnownType(typeof(OAFileSystem))]
    public class OAFileModular : MB.Orm.Common.BaseModel
    {
        public OAFileModular()
        {
        }
        private int _MODULARID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODULARID", System.Data.DbType.Int32)]
        public int MODULARID
        {
            get { return _MODULARID; }
            set { _MODULARID = value; }
        }
        private int _SYSTEMID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SYSTEMID", System.Data.DbType.Int32)]
        public int SYSTEMID
        {
            get { return _SYSTEMID; }
            set { _SYSTEMID = value; }
        }
        private string _MODULARNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODULARNAME", System.Data.DbType.String)]
        public string MODULARNAME
        {
            get { return _MODULARNAME; }
            set { _MODULARNAME = value; }
        }

        private string _MODULARSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODULARSTATUS", System.Data.DbType.String)]
        public string MODULARSTATUS
        {
            get { return _MODULARSTATUS; }
            set { _MODULARSTATUS = value; }
        }

        private string _FILEURL;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FILEURL", System.Data.DbType.String)]
        public string FILEURL
        {
            get { return _FILEURL; }
            set { _FILEURL = value; }
        }
        private string _USERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERCODE", System.Data.DbType.String)]
        public string USERCODE
        {
            get { return _USERCODE; }
            set { _USERCODE = value; }
        }

        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }
    }
}
